package org.jeecg.modules.hotel.arrangement.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.hotel.arrangement.entity.*;
import org.jeecg.modules.hotel.arrangement.mapper.AutoAssignMapper;
import org.jeecg.modules.hotel.arrangement.service.AutoAssignService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author 11025
 */
@Service
public class AutoAssignServiceImpl extends ServiceImpl<AutoAssignMapper, AutoAssignBed> implements AutoAssignService {

    @Resource
    private AutoAssignMapper autoAssignMapper;


    @Override
    public List<AutoAssignBed> getTeaCol(QueryWrapper<AutoAssignBed> queryWrapperBed) {
        return autoAssignMapper.getTeaCol(queryWrapperBed);
    }

    @Override
    public List<AutoAssignStu> getStuBed(QueryWrapper<AutoAssignStu> queryWrapperStu) {
        return autoAssignMapper.getStuBed(queryWrapperStu);
    }

    @Override
    public AutoAssignBed  getAdminId(String yxId) {
        return autoAssignMapper.getAdminId(yxId);
    }

    @Override
    public List<AutoAssignBed> getNullAdmin(QueryWrapper<AutoAssignBed> queryWrapperBed) {
        return autoAssignMapper.getNullAdmin(queryWrapperBed);
    }
}
